3.5 \(\int \sin ^{-1}(a x) \, dx\)

Optimal. Leaf size=25 \[ \frac {\sqrt {1-a^2 x^2}}{a}+x \sin ^{-1}(a x) \]

[Out]

x*arcsin(a*x)+(-a^2*x^2+1)^(1/2)/a

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4619, 261} \[ \frac {\sqrt {1-a^2 x^2}}{a}+x \sin ^{-1}(a x) \]

Antiderivative was successfully verified.

[In]

Int[ArcSin[a*x],x]

[Out]

Sqrt[1 - a^2*x^2]/a + x*ArcSin[a*x]

Rule 261

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rule 4619

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.), x_Symbol] :> Simp[x*(a + b*ArcSin[c*x])^n, x] - Dist[b*c*n, Int[
(x*(a + b*ArcSin[c*x])^(n - 1))/Sqrt[1 - c^2*x^2], x], x] /; FreeQ[{a, b, c}, x] && GtQ[n, 0]

Rubi steps

\begin {align*} \int \sin ^{-1}(a x) \, dx &=x \sin ^{-1}(a x)-a \int \frac {x}{\sqrt {1-a^2 x^2}} \, dx\\ &=\frac {\sqrt {1-a^2 x^2}}{a}+x \sin ^{-1}(a x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 25, normalized size = 1.00 \[ \frac {\sqrt {1-a^2 x^2}}{a}+x \sin ^{-1}(a x) \]

Antiderivative was successfully verified.

[In]

Integrate[ArcSin[a*x],x]

[Out]

Sqrt[1 - a^2*x^2]/a + x*ArcSin[a*x]

________________________________________________________________________________________

fricas [A]  time = 0.65, size = 24, normalized size = 0.96 \[ \frac {a x \arcsin \left (a x\right ) + \sqrt {-a^{2} x^{2} + 1}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arcsin(a*x),x, algorithm="fricas")

[Out]

(a*x*arcsin(a*x) + sqrt(-a^2*x^2 + 1))/a

________________________________________________________________________________________

giac [A]  time = 0.13, size = 24, normalized size = 0.96 \[ \frac {a x \arcsin \left (a x\right ) + \sqrt {-a^{2} x^{2} + 1}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arcsin(a*x),x, algorithm="giac")

[Out]

(a*x*arcsin(a*x) + sqrt(-a^2*x^2 + 1))/a

________________________________________________________________________________________

maple [A]  time = 0.00, size = 25, normalized size = 1.00 \[ \frac {a x \arcsin \left (a x \right )+\sqrt {-a^{2} x^{2}+1}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arcsin(a*x),x)

[Out]

1/a*(a*x*arcsin(a*x)+(-a^2*x^2+1)^(1/2))

________________________________________________________________________________________

maxima [A]  time = 0.42, size = 24, normalized size = 0.96 \[ \frac {a x \arcsin \left (a x\right ) + \sqrt {-a^{2} x^{2} + 1}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arcsin(a*x),x, algorithm="maxima")

[Out]

(a*x*arcsin(a*x) + sqrt(-a^2*x^2 + 1))/a

________________________________________________________________________________________

mupad [B]  time = 0.11, size = 23, normalized size = 0.92 \[ x\,\mathrm {asin}\left (a\,x\right )+\frac {\sqrt {1-a^2\,x^2}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(asin(a*x),x)

[Out]

x*asin(a*x) + (1 - a^2*x^2)^(1/2)/a

________________________________________________________________________________________

sympy [A]  time = 0.12, size = 20, normalized size = 0.80 \[ \begin {cases} x \operatorname {asin}{\left (a x \right )} + \frac {\sqrt {- a^{2} x^{2} + 1}}{a} & \text {for}\: a \neq 0 \\0 & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(asin(a*x),x)

[Out]

Piecewise((x*asin(a*x) + sqrt(-a**2*x**2 + 1)/a, Ne(a, 0)), (0, True))

________________________________________________________________________________________